/**  
* Filename		:	DepotService.java  
* Description	:   
* Copyright		:   Copyright (c)2010-2011  
* Company		:   
* @author		:   yanglianbo 
* @version		:   1.0  
* Create at		:   Jun 10, 2011 10:18:21 AM  
*  
* Modification History:  
* Date			Author      	Version    	Description  
* ------------------------------------------------------------------  
* Jun 10, 2011     	yanglianbo    	1.0        	1.0 Version  
*/   
package com.zoomlion.example.users.serviceimpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zoomlion.core.service.CommonService;
import com.zoomlion.core.util.ViewPage;
import com.zoomlion.example.dao.entity.User;
import com.zoomlion.example.users.dao.UserManagerDao;
import com.zoomlion.example.users.service.UserManagerService;


/**
 * @author 		:	yanglian
 * Description	:
 * Create at 	:  	Jun 10, 2011 10:18:21 AM
 */
@Service("userManagerService")
public  class UserManagerServiceImpl extends CommonService implements UserManagerService {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@Autowired
	private UserManagerDao userManagerDao;

	@Override
	public ViewPage getAllUser(User user, ViewPage page) {
		// TODO Auto-generated method stub
		this.logger.info("In UserManagerDaoImpl UserManagerServiceImpl --------------------");
		return userManagerDao.getAllUser(user, page);
	}

	@Override
	public void addAllUser(User user) {
		this.userManagerDao.addAllUser(user);
		
	}

}
